﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// ProductFile
	/// </summary>
    [Serializable]
	public class ProductFile
	{
		/// <summary>
		/// ProductFileID
        /// </summary>
        [FieldName("ProductFileID")]		
		public int ProductFileID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductDataID
        /// </summary>
        [FieldName("ProductDataID")]		
		public int ProductDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// FileState
        /// </summary>
        [FieldName("FileState")]		
		public int FileState
		{
			get;
			set;
		}
        
		/// <summary>
		/// FileType
        /// </summary>
        [FieldName("FileType")]		
		public int FileType
		{
			get;
			set;
		}
        
		/// <summary>
		/// ViewLogo
        /// </summary>
        [FieldName("ViewLogo")]		
		public int ViewLogo
		{
			get;
			set;
		}
        
		/// <summary>
		/// ViewOrder
        /// </summary>
        [FieldName("ViewOrder")]		
		public int ViewOrder
		{
			get;
			set;
		}
        
		/// <summary>
		/// FileName
        /// </summary>
        [FieldName("FileName")]		
		public string FileName
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegUserID
        /// </summary>
        [FieldName("RegUserID")]		
		public int RegUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegFullName
        /// </summary>
        [FieldName("RegFullName")]		
		public string RegFullName
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditDateTime
        /// </summary>
        [FieldName("EditDateTime")]		
		public DateTime EditDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditUserID
        /// </summary>
        [FieldName("EditUserID")]		
		public int EditUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditFullName
        /// </summary>
        [FieldName("EditFullName")]		
		public string EditFullName
		{
			get;
			set;
		}
        
        public ProductFile Clone()
        {
            return (ProductFile)this.MemberwiseClone();
        }
        
        public ProductFile()
        {
            FileName = string.Empty;
            RegDateTime = ConvertHelper.DefaultDate;
            RegFullName = string.Empty;
            EditDateTime = ConvertHelper.DefaultDate;
            EditFullName = string.Empty;
        }
	}
}
